package com.bootdo.analyze.domain;

import java.io.Serializable;
import java.util.Date;


/**
 * 销售订单表订单表
 * 
 * @author mp
 * @email 1992lcg@163.com
 * @date 2020-03-02 09:22:07
 */
public class SellOrderDO implements Serializable {
	private static final long serialVersionUID = 1L;

	//id
	private Integer id;
	//单据编号
	private Integer number;
	//送货日期
	private Date delivery;
	//业务日期
	private Date busunessdate;
	//客户名称
	private String customername;
	//订购数量
	private Integer orderquantity;
	//商品金额（元）
	private Double commodity;


    //商品
	//编号
	private String serialnumber;
	//商品名称
	private String productname;
	//规格
	private String specification;
	//属性ID
	private Integer attributeid;
	private String attributeName;
	//基本单位ID
	private Integer basicunitid;
	private String unitName;
	//类别ID
	private Integer classifyid;
	private String typeName;
	//零售价
	private Double retailPrice;
	//成本价
	private Double purchasingCost;





	//处理状态1,未审核，2，已审核未转销售3，部分转销售
	private Integer processing;

	//单位
	private String company;
	//制单日期
	private Date makingdate;
	//客户分类
	private String ification;
	//销售类型
	private String salestype;

	//制单人
	private String sperson;
	//经手人
	private String eperson;
	//仅显示赠品商品
	private String onlycomplimentary;



	//员工表
	//员工id
	private Integer emplId;
	//用户名
	private String username;
	//员工姓名
	private String employeename;


	//销售单表
	//销售数量
	private Integer salesquantity;
	//折扣金额
	private Double discountamount;
	//销售毛利
	private Double salesmargin;
	//总计金额
	private Double totalamount;
	//实收金额
	private Double actualamount;
	//外加字段
	//所有业绩金额
	private Double totalamountTO;
	//所有业绩销量
	private Integer salesquantityTO;

	public Double getTotalamountTO() {
		return totalamountTO;
	}

	public void setTotalamountTO(Double totalamountTO) {
		this.totalamountTO = totalamountTO;
	}

	public Integer getSalesquantityTO() {
		return salesquantityTO;
	}

	public void setSalesquantityTO(Integer salesquantityTO) {
		this.salesquantityTO = salesquantityTO;
	}

	public Integer getSalesquantity() {
		return salesquantity;
	}

	public void setSalesquantity(Integer salesquantity) {
		this.salesquantity = salesquantity;
	}

	public Double getDiscountamount() {
		return discountamount;
	}

	public void setDiscountamount(Double discountamount) {
		this.discountamount = discountamount;
	}

	public Double getSalesmargin() {
		return salesmargin;
	}

	public void setSalesmargin(Double salesmargin) {
		this.salesmargin = salesmargin;
	}

	public Double getTotalamount() {
		return totalamount;
	}

	public void setTotalamount(Double totalamount) {
		this.totalamount = totalamount;
	}

	public Double getActualamount() {
		return actualamount;
	}

	public void setActualamount(Double actualamount) {
		this.actualamount = actualamount;
	}

	public Integer getEmplId() {
		return emplId;
	}

	public void setEmplId(Integer emplId) {
		this.emplId = emplId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getEmployeename() {
		return employeename;
	}

	public void setEmployeename(String employeename) {
		this.employeename = employeename;
	}

	public Integer getClassifyid() {
		return classifyid;
	}

	public void setClassifyid(Integer classifyid) {
		this.classifyid = classifyid;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public Date getDelivery() {
		return delivery;
	}

	public void setDelivery(Date delivery) {
		this.delivery = delivery;
	}

	public Date getBusunessdate() {
		return busunessdate;
	}

	public void setBusunessdate(Date busunessdate) {
		this.busunessdate = busunessdate;
	}

	public String getCustomername() {
		return customername;
	}

	public void setCustomername(String customername) {
		this.customername = customername;
	}

	public Integer getOrderquantity() {
		return orderquantity;
	}

	public void setOrderquantity(Integer orderquantity) {
		this.orderquantity = orderquantity;
	}

	public Double getCommodity() {
		return commodity;
	}

	public void setCommodity(Double commodity) {
		this.commodity = commodity;
	}

	public String getSerialnumber() {
		return serialnumber;
	}

	public void setSerialnumber(String serialnumber) {
		this.serialnumber = serialnumber;
	}

	public String getProductname() {
		return productname;
	}

	public void setProductname(String productname) {
		this.productname = productname;
	}

	public String getSpecification() {
		return specification;
	}

	public void setSpecification(String specification) {
		this.specification = specification;
	}

	public Integer getAttributeid() {
		return attributeid;
	}

	public void setAttributeid(Integer attributeid) {
		this.attributeid = attributeid;
	}

	public String getAttributeName() {
		return attributeName;
	}

	public void setAttributeName(String attributeName) {
		this.attributeName = attributeName;
	}

	public Integer getBasicunitid() {
		return basicunitid;
	}

	public void setBasicunitid(Integer basicunitid) {
		this.basicunitid = basicunitid;
	}

	public String getUnitName() {
		return unitName;
	}

	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}

	public Double getRetailPrice() {
		return retailPrice;
	}

	public void setRetailPrice(Double retailPrice) {
		this.retailPrice = retailPrice;
	}

	public Double getPurchasingCost() {
		return purchasingCost;
	}

	public void setPurchasingCost(Double purchasingCost) {
		this.purchasingCost = purchasingCost;
	}

	public Integer getProcessing() {
		return processing;
	}

	public void setProcessing(Integer processing) {
		this.processing = processing;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public Date getMakingdate() {
		return makingdate;
	}

	public void setMakingdate(Date makingdate) {
		this.makingdate = makingdate;
	}

	public String getIfication() {
		return ification;
	}

	public void setIfication(String ification) {
		this.ification = ification;
	}

	public String getSalestype() {
		return salestype;
	}

	public void setSalestype(String salestype) {
		this.salestype = salestype;
	}

	public String getSperson() {
		return sperson;
	}

	public void setSperson(String sperson) {
		this.sperson = sperson;
	}

	public String getEperson() {
		return eperson;
	}

	public void setEperson(String eperson) {
		this.eperson = eperson;
	}

	public String getOnlycomplimentary() {
		return onlycomplimentary;
	}

	public void setOnlycomplimentary(String onlycomplimentary) {
		this.onlycomplimentary = onlycomplimentary;
	}
}
